<?php

namespace Part02_StrategyMode\Code4;

require_once '../../autoload.php';

/**
 * 实例化不同的策略，最终的结果都不一样
 */
(new Context(new ConcreteStrategyA()))->ContextInterface();
(new Context(new ConcreteStrategyB()))->ContextInterface();
(new Context(new ConcreteStrategyC()))->ContextInterface();